class OrderMaintainItem < ActiveRecord::Base
	belongs_to :order_maintain
	belongs_to :maintain_item
	belongs_to :maintain_style
    has_many :staff_maintain_relations, dependent: :destroy
  	has_many :staffs, through: :staff_maintain_relations

  	enum status: %w(未服务 服务中 已服务)
end
